﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JSShop.Model
{
    public class vw_JS_HuiFang
    {
        public vw_JS_HuiFang()
        { }
        #region Model
        private int _userid;
        private string _username;
        private string _loweredusername;
        private string _mobilepin;
        private bool _isanonymous;
        private DateTime _lastactivitydate;
        private string _password;
        private int _passwordformat;
        private string _passwordsalt;
        private string _email;
        private string _loweredemail;
        private string _passwordquestion;
        private string _passwordanswer;
        private bool _isapproved;
        private bool _islockedout;
        private DateTime _createdate;
        private DateTime _lastlogindate;
        private DateTime _lastpasswordchangeddate;
        private DateTime _lastlockoutdate;
        private int _failedpasswordattemptcount;
        private DateTime _failedpasswordattemptwindowstart;
        private int _failedpasswordanswerattemptcount;
        private DateTime _failedpasswordanswerattemptwindowstart;
        private string _comment;
        private int? _gender;
        private DateTime? _birthdate;
        private int? _userrole;
        private string _aliopenid;
        private string _openid;
        private string _openidtype;
        private Guid _sessionid;
        private int? _uid;
        private Guid _roleid;
        private string _rolename;
        private string _privilege;
        /// <summary>
        /// 
        /// </summary>
        public int UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string LoweredUserName
        {
            set { _loweredusername = value; }
            get { return _loweredusername; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string MobilePIN
        {
            set { _mobilepin = value; }
            get { return _mobilepin; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsAnonymous
        {
            set { _isanonymous = value; }
            get { return _isanonymous; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime LastActivityDate
        {
            set { _lastactivitydate = value; }
            get { return _lastactivitydate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Password
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int PasswordFormat
        {
            set { _passwordformat = value; }
            get { return _passwordformat; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PasswordSalt
        {
            set { _passwordsalt = value; }
            get { return _passwordsalt; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Email
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string LoweredEmail
        {
            set { _loweredemail = value; }
            get { return _loweredemail; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PasswordQuestion
        {
            set { _passwordquestion = value; }
            get { return _passwordquestion; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PasswordAnswer
        {
            set { _passwordanswer = value; }
            get { return _passwordanswer; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsApproved
        {
            set { _isapproved = value; }
            get { return _isapproved; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsLockedOut
        {
            set { _islockedout = value; }
            get { return _islockedout; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime LastLoginDate
        {
            set { _lastlogindate = value; }
            get { return _lastlogindate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime LastPasswordChangedDate
        {
            set { _lastpasswordchangeddate = value; }
            get { return _lastpasswordchangeddate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime LastLockoutDate
        {
            set { _lastlockoutdate = value; }
            get { return _lastlockoutdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int FailedPasswordAttemptCount
        {
            set { _failedpasswordattemptcount = value; }
            get { return _failedpasswordattemptcount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime FailedPasswordAttemptWindowStart
        {
            set { _failedpasswordattemptwindowstart = value; }
            get { return _failedpasswordattemptwindowstart; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int FailedPasswordAnswerAttemptCount
        {
            set { _failedpasswordanswerattemptcount = value; }
            get { return _failedpasswordanswerattemptcount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime FailedPasswordAnswerAttemptWindowStart
        {
            set { _failedpasswordanswerattemptwindowstart = value; }
            get { return _failedpasswordanswerattemptwindowstart; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Comment
        {
            set { _comment = value; }
            get { return _comment; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Gender
        {
            set { _gender = value; }
            get { return _gender; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? BirthDate
        {
            set { _birthdate = value; }
            get { return _birthdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? UserRole
        {
            set { _userrole = value; }
            get { return _userrole; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AliOpenId
        {
            set { _aliopenid = value; }
            get { return _aliopenid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string OpenId
        {
            set { _openid = value; }
            get { return _openid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string OpenIdType
        {
            set { _openidtype = value; }
            get { return _openidtype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid SessionId
        {
            set { _sessionid = value; }
            get { return _sessionid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? uid
        {
            set { _uid = value; }
            get { return _uid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid RoleId
        {
            set { _roleid = value; }
            get { return _roleid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string RoleName
        {
            set { _rolename = value; }
            get { return _rolename; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Privilege
        {
            set { _privilege = value; }
            get { return _privilege; }
        }
        #endregion Model
    }
}
